import 'package:flutter/material.dart';
import 'package:xiecheng_lvyou/navigator/tab_navigator.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    final EdgeInsets padding = MediaQuery.of(context).padding;
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        primaryColor: Colors.blue,
        useMaterial3: true,
      ),
      home: const TabNavigator(),
      // home: Container(
      //   decoration: const BoxDecoration(color: Colors.white),
      //   padding: EdgeInsets.fromLTRB(0, padding.top, 0, padding.bottom),
      //   child: const Column(
      //     mainAxisAlignment: MainAxisAlignment.spaceBetween,
      //     children: [Text('顶部'), Text('底部')],
      //   ),
      // ),
    );
  }
}
